<template>
  <div class="main-right">
    <Header />
    <div class="scroll-y">
      <div class="main-right__content">
        <router-view v-slot="{ Component }">
          <keep-alive>
            <component :is="Component" />
          </keep-alive>
        </router-view>
      </div>
    </div>
  </div>
</template>

<script setup lang="ts">
import Header from './Header.vue'
</script>

<style lang="less" scoped>
.main-right {
  width: 728.5px;
  background-color: rgba(55, 55, 54, 1);
  &__content {
    padding: 30px;
  }
}
.scroll-y {
  height: 520px;
  overflow-y: auto;
}
</style>
